Loading/Saving User records

I wonder what exactly the various "load/save" user and directory records really do.

Got a program that adjusts User records, including disabling/deleting and changing some parameters. This program has a GUI which means the current user info is loaded, there is a delay while the script patron deals with the GUI, then the User is adjusted and saved.

I see a timing problem between the time the User info is loaded/displayed and the the time its saved, as some other Client may also have adjusted the user in the mean time. I therefore suspect my "save" procedure needs to be like this:

>>Reload the User Record >>Apply specific changes as directed by the Gui >>Save the user record.

This way any changes made elsewhere are preserved.

Anyway, anybody know for sure what these commands do?

string    forceLoadDirectory()          ForceLoadDirectory
string  loadDirectory(bool)             LoadDirectoryReinstate // LDAP thing?
string  loadDirectory()                 LoadDirectory
string  saveDirectory()                 SaveDirectory
                // No corresponding LoadGroupRecord.  Curious.
string  saveUserRecord(User)            UserSave
string  loadUserRecord_(User,bool)      UserLoadNoLdap  // LDAP
string  loadUserRecord(User)            UserLoad
string  ensureUserRecordLoaded(User)    EnsureUserLoaded
                // DN stuff?:
string  clearDirectoryInformation()     ClearDirectoryInformation
string  updateGroupList()               UpdateGroupList
string  updateUserList()                UpdateUserList

 

  • Louiie

 


llandale - Fri May 06 10:58:55 EDT 2011